package com.charles.springcloud.dao;

import com.charles.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 支付表 Mapper 接口
 * </p>
 *
 * @author 风中灵劲草
 * @since 2021-07-18
 */
@Mapper
public interface PaymentDao {
     int create(Payment payment);
     Payment getPaymentById(@Param("id") Long id);
}
